/*
 * Change Logs:
 * Date           Author       Notes
 * 2020-08-21     chenbin      small mb the first version
 */
#ifndef _LITE_MODBUS_RTU_H_
#define _LITE_MODBUS_RTU_H_

#include "lite_mb_base.h"
extern const lite_mb_core_t _mb_rtu_core;

#define _MODBUS_RTU_HEADER_LENGTH 1
#define _MODBUS_RTU_PRESET_REQ_LENGTH 6
#define _MODBUS_RTU_PRESET_RSP_LENGTH 2

#define _MODBUS_RTU_CHECKSUM_LENGTH 2

#define _MODBUS_RTU_MAX_ADU_LENGTH 260

#endif /* _LITE_MODBUS_RTU_H_ */
